package core;

import java.io.Serializable;

import javax.swing.JFrame;

public interface Unit extends Serializable{
	public void connect(UnitConnection ui);
	public void disconnect(UnitConnection ui);
	abstract public void read(DataPackage dataPack, String tPort);
	public int getInputsCount();
	public String getInput(int i);
	public int getOutputsCount();
	public String getOutput(int i);
	public JFrame getFrame();
}
